//
//  StirngUtils.h
//  WaterEnvironment
//
//  Created by Surffing on 11-11-9.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface NSString (StringUtils)
//是否包含string
-(BOOL) containString:(NSString*)string;
//是否不是空字符串(空字符串:只包含空格和换行符)
-(BOOL) isNotEmpty;

//通过截断前后空白字符生成新的字符串
-(NSString*)stringByTrimmingWhiteSpace;
-(BOOL) isContainOnlyDigitOrAlpha;
-(BOOL) isContainOnlyDigit;
+(NSString *)changeToHasFlagString:(NSString *)sourceStr;
@end
